Repository navigation
Conversation
`CommitGraph.Generate` for up to `MaxHistoryCommits` (20000 by default) commits used to run on the UI thread after every history refresh (and twice when graph highlighting depends on selection), and again on every selection change when highlighting selected commits only. - `Repository.RefreshCommits` now builds the graph in its background task and publishes commits and graph together via `Histories.SetCommits`, so the list and the graph always describe the same commits - Selection-dependent regeneration runs in the background; stale results are dropped and the previous graph stays visible until the new one is ready - `CommitGraph.Generate` no longer sets `Commit.IsHighlightedInGraph` (an observable property bound by visible rows); it is applied from the generated dots on the UI thread instead Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KCxH1zwDXLd9kfAAkcf6PZ
…ting the graph - Collect the selected commits used as extra graph heads on the UI thread before starting background work - Regenerate the graph if the selection changed while a history refresh was running - Guard against `_histories` being null in `Repository.RefreshCommits` Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CommitGraph.Generatefor up toMaxHistoryCommits(20000 by default) commits used to run on the UI thread after every history refresh (and twice when graph highlighting depends on selection), and again on every selection change when highlighting selected commits only.Repository.RefreshCommitsnow builds the graph in its background task and publishes commits and graph together viaHistories.SetCommits, so the list and the graph always describe the same commitsCommitGraph.Generateno longer setsCommit.IsHighlightedInGraph(an observable property bound by visible rows); it is applied from the generated dots on the UI thread instead🤖 Generated with Claude Code